<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<link rel="stylesheet" type="text/css" href="<c:url value='/css/classroomHeader.css'/>"/>
    
<div class="row">
	<div class="col-xs-12 col-md-12 col-lg-12 classroom-title" style="background-image: url(<c:url value='/image/classroom-bgimg.png'/>);background-size:100% 100%;repeat:no-repeat;">
		<div class="link-intro" id="lesson-header-stu">
			<a id="index-stu" >首页</a>&nbsp;>&nbsp;
			<a id="navClassName" ></a>&nbsp;>&nbsp;
			<span class="navClassroom" ></span>
		</div>
		<div class="classroom-course-name"></div>
		<div class="classroom-title-info">
			<ul>
				<li>
					<div class="ctitle">上课时间</div>
					<div class="classroom-time"></div>
				</li>
				<li>
					<div class="ctitle">上课地点</div>
					<div class="classroom-address"></div>
				</li>
			</ul>
		</div>
	</div>
</div>
<script>
var initLesson = function(lesson){
	$("#navClassName").text(lesson.className);
	$(".navClassroom").text(lesson.beginDate);
	
	$(".classroom-course-name").text(lesson.className);
	$(".classroom-time").text(lesson.beginDate+"-"+data.data.lesson.endDate);
	$(".classroom-address").text(lesson.location);
}
var changeStuLessonUrl = function(courseId) {
	$("#lesson-header-stu #index-stu").attr("href",CONTEXT_PATH + "lesson/studentCLesson");
	$("#lesson-header-stu #navClassName").attr("href",CONTEXT_PATH + "scccontrol/detailView?classId=" + courseId);
}
</script>
